package com.woniuxy.java106crm.mapper;

import com.woniuxy.java106crm.entity.CustomerTrade;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CustomerTradeMapper {
    List<CustomerTrade> findAllByCid(String cid);

    boolean deleteById(String id);

    boolean addTrade(CustomerTrade customerTrade);

    boolean updateTrade(CustomerTrade customerTrade);
}
